home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
dll_gen
/
vbdllcom
/
vbdllcom.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-11-16
|
2KB
|
54 lines
#ifdef __cplusplus
extern "C" {
#endif
/*------------------------------------------------------------------------*/
/* Useful things*/
/*------------------------------------------------------------------------*/
#ifndef SHORT
#define SHORT short
#endif
#ifndef USHORT
#define USHORT unsigned short
#endif
/*------------------------------------------------------------------------*/
/* Global ReturnTypeDefinition for DLL-LibraryFunktion*/
/*------------------------------------------------------------------------*/
#ifndef DLLAPI
#define DLLAPI _far _pascal _export
#endif
/*------------------------------------------------------------------------*/
/* Global ConstantDefinition*/
/*------------------------------------------------------------------------*/
/* ReturnConstants*/
#define VB_TRUE -1
/* ErrorConstants*/
#define ERR_STRUCTSIZE -2
/*------------------------------------------------------------------------*/
/* Global TypDefinitions*/
/*------------------------------------------------------------------------*/
typedef double DOUBLE, * NPDOUBLE, FAR * LPDOUBLE;
typedef struct tagInParam
{
USHORT nTyp;
DOUBLE dblZ1,
dblZ2,
dblResult;
} INPARAM, * NPINPARAM, FAR * LPINPARAM;
/*------------------------------------------------------------------------*/
/* Function Prototypes */
/*------------------------------------------------------------------------*/
SHORT DLLAPI VBDllTestProc(HLSTR);
VOID FAR PASCAL GetData(LPSTR, LPINPARAM);
VOID FAR PASCAL SetData(LPSTR, LPINPARAM);
/*------------------------------------------------------------------------*/
#ifdef __cplusplus
}
#endif